<template>
    <div class="icon-title">
        <i class="icon" :class="iconClass"></i>
        <span class="text">{{text}}</span>
    </div>
</template>

<script>
export default {
    name: 'IconTitle',
    props: {
        iconClass: {
            type: String
        },
        text: {
            type: String,
            default: '请输入你的身份信息'
        }
    }
}
</script>